package com.library.dcy.entity;

public class Library {
    private int reaId;//卡号
    private String idCard;//身份证
    private String pwd;//密码
    private String name;//姓名
    private int age;//年龄
    private String phone;//联系方式
    private double price;//余额

    /**
     * 有参构造
     * @param reaId
     * @param idCard
     * @param pwd
     * @param name
     * @param age
     * @param phone
     * @param price
     */
    public Library(int reaId, String idCard, String pwd, String name, int age, String phone, double price) {
        this.reaId = reaId;
        this.idCard = idCard;
        this.pwd = pwd;
        this.name = name;
        this.age = age;
        this.phone = phone;
        this.price = price;
    }

    /**
     * 空构造
     * @param reaId
     * @param price
     */
    public Library(int reaId, double price) {
        this.reaId=reaId;
        this.price=price;
    }

    public int getReaId() {
        return reaId;
    }

    public void setReaId(int reaId) {
        this.reaId = reaId;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }
}
